Tzafrir Cohen wrote:
On Thu, Jun 09, 2005 at 09:50:53AM +0300, Daniel Feiglin wrote:

Hello  folks!

During February-March I started two threads, which were left unresolved. As before the underlying distro is SuSE Pro, now 9.3.

1. Configuring a keydisk
Nothing special is needed! The system mounts the thing automatically, like a hard disk. Since I'm formatted FAT32 there are no hangups over permissions etc. It is mounted by root, and creates an entry under /media,i.e. /media/KEYDISK. This is important, since before removing it, you must become root and issue a umount /media/KEYDISK. You do need the latest SuSE 9.3 patch to make this work.


Interesting.

What happens if you have more than one simultanously?

Dunno. I only have one! Now, if someone wants to donate me another one ...

Once the unit is mounted, an icon is displayed on the desktop, which can be clicked to open up a konq display.

This is somewhat unsatisfactory in that there is nothing in mtab or fstab "seen" by utilities like kdiskfree. (There is the usual usbfs /proc/bus/usb usbfs user,noauto 0 0
entry in fstab & mtab - which doesn't seem to get picked up.)


This is not the mount point of the disk. What about /proc/mounts?

  grep /media /proc/mounts


Got it -

/dev/sda /media/KEYDISK subfs rw,sync,nosuid,nodev 0 0

Still, I don't see it in kdiskfree - aha! I recall from someplace that /dev/sda is not a block device.

It seems that SuSE has butchered mount(8) in some cruel and unusual manner. My previous solution that worked under SuSE 9.2 no longer works.


Even if you play games with mount, you can really mount something to the
filesystem without the kernel doing it, right?

I suppose so, but not here. I think that the USB keydisk is a chracter mode device that fakes direct access etc with internal logic - a bit like a tape drive. You cannot mount(8) a tape drive. You use mt(1). Anyway, the darn thing works - and that's what matters.



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to