Posté par M .
En réponse au journal submount ???.
Évalué à 1.
1)
si via un lien symbolique
2)
faux submount le monte qd tu y accede et y met un timeout de 1 seconde pour le demonter
/* This is the main routine for the unmounting daemon. It checks that
* the filesystem it mounted is at the top of the mountpoint, and then
* attempts a umount if it is. If EBUSY is returned from the umount call,
* the loop is continued. As of version 0.2, it includes a kludge to prevent
* layer-caking mounts when a program automatically mounts a device without
* checking if it is already mounted (urpmi). It xshould be removed once the
* programs that do this are fixed.
*/
for (;;) {
sleep(INTERVAL);
[...]
if ((strcmp(p->fstype, fs) == 0) || (match > 2)) {
retval = umount(p->mountpoint);
if ((!retval) && (match < 3))
exit(EXIT_SUCCESS);
if (errno != EBUSY)
exit(EXIT_FAILURE);
}
}
3)
???
tu lis un fichier sur un cd et tu peux l'ejecter, ça ma l'air super et si tu met un nouveau cd ça fait quoi ?
4)
faux si tu utilise un lien symbolique
--> tu ne dois pas savoir de servir d'automount....
[^] # Re: submount ???
Posté par M . En réponse au journal submount ???. Évalué à 1.
si via un lien symbolique
2)
faux submount le monte qd tu y accede et y met un timeout de 1 seconde pour le demonter
3)
???
tu lis un fichier sur un cd et tu peux l'ejecter, ça ma l'air super et si tu met un nouveau cd ça fait quoi ?
4)
faux si tu utilise un lien symbolique
--> tu ne dois pas savoir de servir d'automount....