Fwd: undelete bookmark folder
Matt Graham
danceswithcrows at usa.net
Fri Jul 5 11:25:22 MST 2013
> On Jul 5, 2013 10:54 AM, "Michael Havens" wrote:
>> $ mke2fs -j -L MY_BACKUPS /dev/sdc
>> /dev/sdc is entire device, not just one partition!
>> Proceed anyway? (y,n) y
>> /dev/sdc is mounted; will not make a filesystem here!
From: Stephen
> Do you have any partitions on sdc? Ice sdc1 vs sdc2 ect
It's obvious from the error message that there isn't a partition table on the
device, since /dev/sdc is *mounted*.
>> bmike1 at PresarioLapTop1:/home$ sudo umount /dev/sdc
>> bmike1 at PresarioLapTop1:/home$ mke2fs -j -L MY_BACKUPS /dev/sdc
>> mke2fs: Permission denied while trying to determine filesystem size
>> so what is wrong?
Your user probably doesn't have permissions to read or write to /dev/sdc, so
you'll have to run the mke2fs command as root if you want to remake the
filesystem. Users don't usually have direct read/write access to disk
devices, because if they had that access, they could bypass/change the
permissions system and the filesystem.
My first message said "if it already has a filesystem on it, you can do
"tune2fs -L A_NEW_LABEL /dev/whatever". You should be able to run tune2fs on
a mounted filesystem as well. Did you not see that part of the message?
Well, a lot of people appear to only skim the first paragraph of things....
--
Matt G / Dances With Crows
The Crow202 Blog: http://crow202.org/wordpress/
There is no Darkness in Eternity/But only Light too dim for us to see
More information about the PLUG-discuss
mailing list