[Grml] Re: Re: Wishlist: automount by names
T
mlist4suntong at yahoo.com
Fri Sep 1 19:45:19 CEST 2006
On Thu, 31 Aug 2006 12:26:45 +0200, T wrote:
> /dev/hda2 /mnt/hda2 auto .....
>
>> The implementation would be something like:
>>
>> # for label in /dev/disk/by-label/* ; mkdir /mnt/$(basename $label)
>
> hmm.... that won't work. ...
I was wrong.
Yes, that'll do. Just check for existence before creating the dirs, to
make it friendly to hd install cases.
thanks
More information about the Grml
mailing list