making the mountpoints visible all the time
Hi
I've currently got automount setup so that i can cd into a directory like /mnt/someplace and someplace will be automatically created and mounted... it would be quite usefull if that directory was allways visible so that i could browse to it in gui applications... how do i do that?
Quoted 3 lines · Alexander Macdonald
Hi
I've currently got automount setup so that i can cd into a directory like
/mnt/someplaceand someplace will be automatically created and mounted... it would be quite usefull if that directory was allways visible so that i could browse to it in gui applications... how do i do that?
If you want it visible all the time, use /etc/fstab, not autofs. Work is being done on leaving the directory structure before actually mounting it, but it is not finished yet.
Forrest
Quoted 10 lines · ForrestX
Quoted 7 lines · Alexander Macdonald
Hi
I've currently got automount setup so that i can cd into a directory like
/mnt/someplaceand someplace will be automatically created and mounted... it would be quite usefull if that directory was allways visible so that i could browse to it in gui applications... how do i do that?
Quoted 5 lines
If you want it visible all the time, use
/etc/fstab, not autofs. Work is being done on leaving the directory structure before actually mounting it, but it is not finished yet.Forrest
Or you can fake it by having a directory where autofs puts its stuff and in the directory where you want the mounts, have softlinks back to the correct autofs location.
like autofs puts its stuff in
/.autofs/mount1
and you do
ln -s /.autofs/mount1 /mnt/mount1
there are 2 problems I have seen with this (though I still use it)
1) if your home directory is in /mnt/mount1 you (if PS1=\h:\w\$ on bash) will see "machine:/.autofs/mount1$ " until you type cd once.
2) if you do an ls in /mnt/ (or navigate a netscape/openoffice.org [save/open] through it) you will be waiting until autofs has processed mounting all the autofs mounts.
Signature · 3 lines
Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter
Ian Kent
maintainerQuoted 9 lines · ForrestX
Quoted 7 lines · Alexander Macdonald
Hi
I've currently got automount setup so that i can cd into a directory like
/mnt/someplaceand someplace will be automatically created and mounted... it would be quite usefull if that directory was allways visible so that i could browse to it in gui applications... how do i do that?
Quoted 4 lines
If you want it visible all the time, use
/etc/fstab, not autofs. Work is being done on leaving the directory structure before actually mounting it, but it is not finished yet.
Umm ...
Beg to disagree.
The autofs4-2.4 module build kit or the patches contained in it or the patches contained in autofs-4.1.0-beta3 can give you this for some of the maps. NIS, LDAP and file maps work at the moment.
I's in the expected place on kernel.org.
Signature · 4 lines
,-._|\ Ian Kent / \ Perth, Western Australia *_.--._/ E-mail: [email protected] v Web: http://themaw.net/
Quoted 7 lines · Ian Kent
The autofs4-2.4 module build kit or the patches contained in it or the patches contained in autofs-4.1.0-beta3 can give you this for some of the maps. NIS, LDAP and file maps work at the moment.
I's in the expected place on kernel.org.
not sure what you mean by file maps, but I'm trying to mount samba and nfs shares so i guess I'm out of luck...
Maps are where you get your mount information from. You could be using any map and mounting a kind of share (nfs/smbfs).
If you use local files for specifying which server/share to mount, then you are using file maps.
<< ryan
Quoted 19 lines · Alexander Macdonald
Quoted 7 lines · Ian Kent
The autofs4-2.4 module build kit or the patches contained in it or the patches contained in autofs-4.1.0-beta3 can give you this for some of the maps. NIS, LDAP and file maps work at the moment.
I's in the expected place on kernel.org.
not sure what you mean by file maps, but I'm trying to mount samba and nfs shares so i guess I'm out of luck...
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs
If you look in the samples directory, a file map is the auto.misc map.
Quoted 1 line
cat auto.master
# $Id: auto.master,v 1.2 1997/10/06 21:52:03 hpa Exp $ # Sample auto.master file
# Format of this file:
# mountpoint map options # For details of the format look at autofs(8). /misc /etc/auto.misc /net /etc/auto.net
Quoted 1 line
cat auto.misc
# $Id: auto.misc,v 1.2 1997/10/06 21:52:04 hpa Exp $ # This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location # Details may be found in the autofs(5) manpage
kernel -ro ftp.kernel.org:/pub/linux boot -fstype=ext2 :/dev/hda1 removable -fstype=ext2 :/dev/hdd cd -fstype=iso9660,ro :/dev/hdc floppy -fstype=auto :/dev/fd0
Quoted 17 lines · Alexander Macdonald
Quoted 7 lines · Ian Kent
The autofs4-2.4 module build kit or the patches contained in it or the patches contained in autofs-4.1.0-beta3 can give you this for some of the maps. NIS, LDAP and file maps work at the moment.
I's in the expected place on kernel.org.
not sure what you mean by file maps, but I'm trying to mount samba and nfs shares so i guess I'm out of luck...
_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs
Signature · 7 lines
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Rhythm & Hues 5404 Jandy Place Los Angeles, CA 90066 Voice: 310 448-7763 Fax: 310 448-7600 [email protected]
Quoted 25 lines · Ian Kent
Quoted 12 lines · ForrestX
Quoted 9 lines · Alexander Macdonald
Hi
I've currently got automount setup so that i can cd into a directory like
/mnt/someplaceand someplace will be automatically created and mounted... it would be quite usefull if that directory was allways visible so that i could browse to it in gui applications... how do i do that?Quoted 6 lines
If you want it visible all the time, use
/etc/fstab, not autofs. Work is being done on leaving the directory structure before actually mounting it, but it is not finished yet.Umm ...
Quoted 10 lines
Beg to disagree.
The autofs4-2.4 module build kit or the patches contained in it or the patches contained in autofs-4.1.0-beta3 can give you this for some of the maps. NIS, LDAP and file maps work at the moment.
I's in the expected place on kernel.org.
Hello, Ian and other.
As I've understand you've implemented readdir relaited syscalls in autofs for some map types, have you?
If so then I hope that soon we could see programm maps with such functionality.
I want to do progamm map wich allow something more native representation of windows workgroups like NetworkNigborhood. It would be very useful in plain networks(like our ~900 PC in one workgroup).
Best regards. Ruslan.
Ian Kent
maintainerQuoted 10 lines · Ruslan U. Zakirov
Quoted 9 lines · Ian Kent
Umm ...
Beg to disagree.
The autofs4-2.4 module build kit or the patches contained in it or the patches contained in autofs-4.1.0-beta3 can give you this for some of the maps. NIS, LDAP and file maps work at the moment.
Quoted 7 lines
Quoted 4 lines
I's in the expected place on kernel.org.
Hello, Ian and other.
As I've understand you've implemented readdir relaited syscalls in autofs for some map types, have you?
Basically, yes.
Some other related changes were also needed to make direct mount handling in the daemon simpiler (when working with the updated module).
Quoted 6 lines
If so then I hope that soon we could see programm maps with such functionality.
I want to do progamm map wich allow something more native representation of windows workgroups like NetworkNigborhood. It would be very useful in plain networks(like our ~900 PC in one workgroup).
But how do you know what the keys are?
In order to make mount points visible you need to know what they are. The definition of a program map is that it produces map entries as output given an input key.
Signature · 4 lines
,-._|\ Ian Kent / \ Perth, Western Australia *_.--._/ E-mail: [email protected] v Web: http://themaw.net/
Quoted 5 lines · Ian Kent
But how do you know what the keys are?
In order to make mount points visible you need to know what they are. The definition of a program map is that it produces map entries as output given an input key.
You need a new operation on a map -- enumerate. Most, but not all map types support it.
In the case of a program map I would suggest implementing enumeration by passing no argument and expecting the enumerated list back.
-hpa
Quoted 18 lines · Ian Kent
Quoted 9 lines · ForrestX
Quoted 7 lines · Alexander Macdonald
Hi
I've currently got automount setup so that i can cd into a directory like
/mnt/someplaceand someplace will be automatically created and mounted... it would be quite usefull if that directory was allways visible so that i could browse to it in gui applications... how do i do that?Quoted 4 lines
If you want it visible all the time, use
/etc/fstab, not autofs. Work is being done on leaving the directory structure before actually mounting it, but it is not finished yet.Umm ...
Quoted 7 lines
Beg to disagree.
The autofs4-2.4 module build kit or the patches contained in it or the patches contained in autofs-4.1.0-beta3 can give you this for some of the maps. NIS, LDAP and file maps work at the moment.
I's in the expected place on kernel.org.
Now it is my turn to apologize. I saw the autofs module on the ftp site, but I didn't have time to investigate. Has this module been included in the upstream kernel yet?
Forrest
Ian Kent
maintainerQuoted 25 lines · ForrestX
Quoted 24 lines · Ian Kent
Quoted 9 lines · ForrestX
Quoted 7 lines · Alexander Macdonald
Hi
I've currently got automount setup so that i can cd into a directory like
/mnt/someplaceand someplace will be automatically created and mounted... it would be quite usefull if that directory was allways visible so that i could browse to it in gui applications... how do i do that?Quoted 4 lines
If you want it visible all the time, use
/etc/fstab, not autofs. Work is being done on leaving the directory structure before actually mounting it, but it is not finished yet.Umm ...
Beg to disagree.
The autofs4-2.4 module build kit or the patches contained in it or the patches contained in autofs-4.1.0-beta3 can give you this for some of the maps. NIS, LDAP and file maps work at the moment.
Quoted 6 lines
Quoted 1 line
I's in the expected place on kernel.org.
Now it is my turn to apologize. I saw the autofs module on the ftp site, but I didn't have time to investigate. Has this module been included in the upstream kernel yet?
No.
I have mailed Marcello Tosatti asking what I need to do for my changes to be included but he hasn't sent any reply.
On the upside, when I commplained about not getting my changes into the kernel the other day and copied it to the LKML, Peter Anvin suggested I submit my patches for inclusion in 2.6. He sounded quite positive and I'm currently porting the changes. You may have seen the recent discussion.
Signature · 4 lines
,-._|\ Ian Kent / \ Perth, Western Australia *_.--._/ E-mail: [email protected] v Web: http://themaw.net/