sous linux, la commande mount admet --bind comme argument :
'mount --bind olddir newdir' monte un râpertoire comme
s'il s'agissait d'un bloc. Sous netbsd, pas de --bind,
j'ai lu et relu le man, pas trouvé d'équivalent.
'rmdir newdir && ln -s olddir newdir' me satisfait modérément
vu que ça donne :
$ cd newdir
$ pwd
olddir
Y a-t-il un moyen d'obtenir un comportement similaire à 'mount --bind'
en utilisant ln ou autres ?
Bien sur, mais on suppose que l'operateur a mis a ligne qui va bien dans la fstab :)
Impossible : je lui interdit de se loguer : Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved.
NetBSD 5.0 (GENERIC) #0: Sun Apr 26 18:50:08 UTC 2009
Welcome to NetBSD!
You have mail. io$ grep operator /etc/passwd operator:*:2:5:System &:/usr/guest/operator:/sbin/nologin
-- Welcome to U1 2521 days up the Message of the Day is up to date. To get it, strike "cat /etc/motd" then <return> u1:~$ _ _
Manuel Bouyer wrote:
Bien sur, mais on suppose que l'operateur a mis a ligne qui va bien
dans la fstab :)
Impossible : je lui interdit de se loguer :
Copyright (c) 1982, 1986, 1989, 1991, 1993
The Regents of the University of California. All rights reserved.
NetBSD 5.0 (GENERIC) #0: Sun Apr 26 18:50:08 UTC 2009
Welcome to NetBSD!
You have mail.
io$ grep operator /etc/passwd
operator:*:2:5:System &:/usr/guest/operator:/sbin/nologin
--
Welcome to U1 2521 days up
the Message of the Day is up to date.
To get it, strike "cat /etc/motd" then <return>
u1:~$ _
_
Bien sur, mais on suppose que l'operateur a mis a ligne qui va bien dans la fstab :)
Impossible : je lui interdit de se loguer : Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved.
NetBSD 5.0 (GENERIC) #0: Sun Apr 26 18:50:08 UTC 2009
Welcome to NetBSD!
You have mail. io$ grep operator /etc/passwd operator:*:2:5:System &:/usr/guest/operator:/sbin/nologin
-- Welcome to U1 2521 days up the Message of the Day is up to date. To get it, strike "cat /etc/motd" then <return> u1:~$ _ _
Cyrille Lefevre
Yves Lambert a écrit :
il me semble que apropos (man -k) ne marche pas sur netbsd.gwd.org
sur mon netbsd (sur un pentium mmx et en train de compiler :
apropos nullfs donne "nothing appropriate" apropos unionfs idem, apropos union donne comme premier résultat man 8 mount_union
Bonjour,
man apropos => man makewhatis
http://netbsd.gw.com/cgi-bin/man-cgi?makewhatis+8
Cordialement,
Cyrille Lefevre. -- mailto:Cyrille.Lefevre-news% supprimer "%nospam% et ".invalid" pour me repondre.
Yves Lambert a écrit :
il me semble que apropos (man -k) ne marche pas sur netbsd.gwd.org
sur mon netbsd (sur un pentium mmx et en train de compiler :
apropos nullfs donne "nothing appropriate"
apropos unionfs idem,
apropos union donne comme premier résultat man 8 mount_union
Bonjour,
man apropos => man makewhatis
http://netbsd.gw.com/cgi-bin/man-cgi?makewhatis+8
Cordialement,
Cyrille Lefevre.
--
mailto:Cyrille.Lefevre-news%nospam@laposte.net.invalid
supprimer "%nospam% et ".invalid" pour me repondre.