Fwd: ROX-Filer improvement suggestion

Thomas Leonard <[email protected]> Wed, 18 Feb 2009 20:48:34 +0000
Newsgroups gmane.comp.desktop.rox.devel
Message-ID <[email protected]>
[emailed to me; forwarding]

---------- Forwarded message ----------
From: Zbigniew Baniewski <[email protected]>
Date: 2009/2/15
Subject: ROX-Filer improvement suggestion

Hallo Mr. Leonard,

I would to point your attention to a possible little improvement: currently
AFAIK ROX-Filer recognizes, that any mount-point is (or isn't) mounted by
direct comparison of mtab and fstab entries. And this makes a (little)
problem, when one wants to use features given by udev, I mean "nicknames"
arbitrary chosen by the user for the real node names.

Consider following example: I've created mount point especially for my
digital photo camera, writing a rule:

 ACTION=="add", KERNEL=="sd?1", SUBSYSTEMS=="usb", \
   ATTRS{product}=="Digital camera F12     ", SYMLINK+="Camera"

...and then adding in /etc/fstab an entry:

 /dev/Camera /Mount/Camera auto /users,noauto,gid=100,umask=002,showexec 0 0

As you can see, I'm using symlink; it's just more convenient. But after
I mount the camera, mtab contains a line:

 /dev/sdb1 /Mount/Camera vfat rw 0 0

It seems, that it wants the real name of the node, instead of my symlink.
Although the symlink /dev/Camera has been created, and it's "pointing" to
a /dev/sdb1.

The same shows "df":

 /dev/sdb1      7896      1104      6792  14% /Mount/Camera


OK, now to the problem: it seems to me, that ROX wants the same device node
names in mtab and fstab. It won't recognize otherwise, that mount-point
/Mount/Camera has been mounted already. It's not serious problem, currently
I had just to replace (in fstab) symlink names with real nodes names, and it
works. But maybe in future it could be changed to make it use that "symlinked
names" as well?

Anyway thanks a lot for such great tool. :)
--
                               pozdrawiam / regards

                                               Zbigniew Baniewski

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H