I use autofs for my CD-Rom and floppy. The nice thing is that I don't have to care about (un)mounting. But the bad thing is that they are not diplayed in the xffm fstab branch any more. Would it be possible to add a special branch for devices manages by autofs ?
How do you configure devices to be managed by autofs?
Main configuration file is /etc/auto.master which defines autofs mountpoints (directories mounted as autofs filsystem). Each mountpoint is described by separate file. auto.master file is not used by any daemon, only by startupscript so it _may_ be convenient xffm does not use it either but has it's own list of autofs(5) files. More precise information available at: http://www.freebsd.org/cgi/man.cgi?query=automount&apropos=0&sektion=8&manpath=SuSE+Linux%2Fi386+8.2&format=html http://www.freebsd.org/cgi/man.cgi?query=auto.master&sektion=5&apropos=0&manpath=SuSE+Linux%2fi386+8.2 http://www.freebsd.org/cgi/man.cgi?query=autofs&apropos=0&sektion=5&manpath=SuSE+Linux%2Fi386+8.2&format=html
denis, as a quick workaround, I believe you can add the directories when mounted to "Book" branch of xffm. When clicking on the book entry, it should mount ;)
And you can save your bookmarks to a file, so that running "xfbook4 [bookname]" would open up your automount directories. Let us know if this approach works, or what problems arise...
Hi, Thanks for your help. I tried what you said : 1) open xffm (4.0.2) 2) insert my floppy disk 3) goto /auto/floppy => it opens my floppy contents under xffm 4) drag the floppy icon onto the bookmarks icon => floppy is added to bookmarks But then, if I close my bookmarks folder, then eject my floppy disk, then open my bookmarks folder, the floppy icon is'nt there anymore, and I can't get it back, even If I reinsert my floppy disk. And If I try to recreate a bookmark to /auto/floppy with drag and drop, xffm complains that /auto/floppy is already in my bookmarks (but I can't see it). I guess what is puzzling to xffm is that /auto/floppy is a sometimes existant, sometimes non-existant directory.
Finally got to testing the automount stuff. You need to create symlinks to the automount directory. When you open the symlink with xffm, the OS does the automount thing. You can put the symlinks into the bookmarks and they will not dissappear as the automount directory. Creation of symlinks is recomended on various sites on the web and xffm tested OK with symlink-automount combination.