Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

mount --bind

13 réponses
Avatar
Yves Lambert
Bonjour,

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 ?

3 réponses

1 2
Avatar
Yves Lambert
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:~$ _
_
Avatar
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.
Avatar
Yves Lambert
Cyrille Lefevre wrote:
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.



Oui, mais c'est sur netbsd.gw.com que la base manque, pas chez moi :)

--
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:~$ _
_
1 2