Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: b1ackmai1er on July 11, 2011, 05:01:26 AM

Title: Suggestion for TC - unique mount points.
Post by: b1ackmai1er on July 11, 2011, 05:01:26 AM
Hi Guys,

I would like to suggest an improvement to TC regarding mount point for drives. Currently TC automatically scan drives and created mount points in fstab based on drive/partition name is /mnt/sda1. To add a degree of device independence could I suggest that multiple mount points be created for each device based on UUID and/or label.

So If a drive was added, a mount point would be created /mnt/sda1 and also (perhaps as a symbolic link) /mnt/UUID and /mnt/label.

The advantage of this is that as drives are added or removed, scripts could refer to the /mnt/UUID or /mnt/label address and would not be affected by the changing drive sequence that currently occurs with the drive/partition method.

Regards b1ackmai1er

Title: Re: Suggestion for TC - unique mount points.
Post by: curaga on July 11, 2011, 06:05:28 AM
You could not then do "(u)mount /mnt/label", which is what many would expect. This has been discussed before.
Title: Re: Suggestion for TC - unique mount points.
Post by: b1ackmai1er on July 12, 2011, 09:38:34 AM
Thanks. there is hidden complexity in everything!