Re: Fwd: undelete bookmark folder

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Matt Graham
Date:  
To: Main PLUG discussion list
Subject: Re: Fwd: undelete bookmark folder
From: Michael Havens
>> 3. Make an entry for the partition you made in your /etc/fstab :
>> LABEL=MY_BACKUPS /mnt/backup ext3 noauto,users,noatime 0 0
> In step 3 the "LABEL=..." entry in fstab makes it so that whatever has
> the label MY_BACKUPS will be seen as the proper device regardless of
> whether it is sdc, sdc1, sdd, etc....?


If you have a LABEL= entry in your fstab, then when you mount the mountpoint
for that entry, ("mount /mnt/backup" here), mount will query each block device
in the system and ask it "Is your label MY_BACKUPS?" If it gets a "yes"
answer, it will mount that block device on that mountpoint. mount knows where
the filesystem labels live on all commonly used filesystems (ext234, reiserfs,
xfs, jfs, FAT32, FAT16, NTFS, HFS+, and there are probably others I'm
forgetting), and it can do this check pretty quickly under normal
circumstances.

If you have 2 block devices on the same system with the same filesystem label,
and then you try to mount by label, stupid things will probably happen. So
don't do that.

--
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

---------------------------------------------------
PLUG-discuss mailing list -
To subscribe, unsubscribe, or to change your mail settings:
http://lists.phxlinux.org/mailman/listinfo/plug-discuss