[Grml] Re: Re: Wishlist: automount by names

Michael Prokop mika at grml.org
Sat Sep 2 11:00:58 CEST 2006


* T <mlist4suntong at yahoo.com> [20060831 19:15]:
> On Thu, 31 Aug 2006 10:26:54 +0200, Michael Prokop wrote:

[...]

> >   /dev/hda2 /mnt/foo auto .....
> > does. 

> Is it the new grml0.8 feature? That's exactly what I want. grml0.7 used to
> be

> /dev/hda2 /mnt/hda2 auto .....

Sorry, was a typo of course.

> > The implementation would be something like:

> >   # for label in /dev/disk/by-label/* ; mkdir /mnt/$(basename $label)

> hmm.... that won't work. As shown in my example. /dev/disk/by-label/ is
> only populated when a disk is mounted. So you didn't see the full list of
> my os partions. 

As you wrote in your other mail it will work. :)

So I will implement it and see how well it works for all of you in
the next develrelease.

[usb-pens]
> > pmount-hal requires running dbus/hald. Not an option for the default
> > behaviour of grml for me at the moment.

> > grml's udev solution for usb pens works for me. Just run 'mount
> > /mnt/external1' and usually that's it. Plain and simple. Mounting by label
> > is possible anyway and pmount-hal exists on grml too. What are missing
> > therefore? :)

> The default behavior of the grml's udev solution for usb pens works for
> you but might not work for others. For example, I have 2 usb pens, one has
> no partition, so I can't use /mnt/external1; whereas the 2nd has 3
> partitions, in which grml's solution is not enough.

Use /mnt/external for pens without any partitions. :)

But you are right - for multiple partitions it's still not a nice
solution, I'll think about that with the other grml-devs. Thanks for
your suggestions!

regards,
-mika-
-- 
 http://grml.org/            # Linux for texttool-users and sysadmins
 http://wiki.grml.org/       # share your knowledge
 http://grml.supersized.org/ # the grml development weblog
 #grml @ irc.freenode.org    # meet us on irc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://ml.grml.org/pipermail/grml/attachments/20060902/0c75508f/attachment-0003.pgp>


More information about the Grml mailing list