Jerry McAllister wrote:

On Mon, Jan 21, 2008 at 02:19:54PM -0300, Mario Lobo wrote:

On Monday 21 January 2008 14:05:04 Mike Bristow wrote:
On Mon, Jan 21, 2008 at 05:55:51PM +0100, Roland Smith wrote:
On Mon, Jan 21, 2008 at 08:56:32AM +0400, Rakhesh Sasidharan wrote:
It is possible, but not as daX. Use the glabel(8) utility to label
your disks. They will show up as /dev/label/<yourlabel>

On 7.0-PRERELEASE, 'options GEOM_LABEL' is built into of the GENERIC
kernel, so it shouldn't be necessary there.

Note that you can use UFS (and other filesystems labeling) too:  for
example. 'newfs -L bobs_disk' will cause the device containing it to appear
as /dev/ufs/bobs_disk.

This approach may be better for removable disks; it'll play better with
other OSs, for example.

I simply put

/dev/da0s1              /PenDrive       msdosfs rw,noauto       0       0

on fstab. After I plug it in, I type

mount /PenDrive.  In KDE,  I use Kwikdisk to mount it.

Maybe I am missing something, but I don't think that is what the OP
was asking - just a mount moiunt.   I think the OP wants the
/dev/da0s1 to always be /dev/da0s1 even if he switches the drives
around in physical drive slots.


Yup, that's what I wanted. For the drive to always appear as /dev/da0 (or anything similar). The glabel feature (and newfs labelling feature too) are exactly what I was looking for.

Thanks a ton for all the replies. Much appreciated. :)

Regards,

                                - Rakhesh
                                http://rakhesh.net/
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to