| Summary: | no "mount --move" | ||
|---|---|---|---|
| Product: | Branch 4.0 | Reporter: | Ivan Zakharyaschev <imz> |
| Component: | mount | Assignee: | Nobody's working on this, feel free to take it <nobody> |
| Status: | CLOSED WONTFIX | QA Contact: | Q.A. 4.0 <qa-4.0> |
| Severity: | major | ||
| Priority: | P3 | ||
| Version: | 4.0 | ||
| Hardware: | all | ||
| OS: | Linux | ||
В 4.0/branch исправления не будут вноситься уже технически (заглушена очередь на сборку), поэтому прошу ошибки, актуальные для sisyphus/p7/t7, перевесить на текущие ветки или сизиф. |
mount-2.12r-alt6 Although documented in the manpage ("Since Linux 2.5.1 it is possible to atomically move a mounted tree to another place."), "mount --move" doesn't work: # mount --move /home/STORAGE-for-srv /srv mount: wrong fs type, bad option, bad superblock on /home/STORAGE-for-srv, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so # Whereas "--bind" and "--rbind" work: # mount --bind /home/STORAGE-for-srv /srv # umount /srv # mount --rbind /home/STORAGE-for-srv /srv Also, "move" is not recognized in /etc/fstab; for example, with the following line: /home/STORAGE-for-srv /srv none move,auto 0 0 the result is: # mount /srv mount: unknown filesystem type 'none' # whereas "bind" works with a line like this: /home/STORAGE-for-srv /srv none bind,auto 0 0 . "mount --move" would be of some real use at least for the case when one doesn't want to create a loop through "mount --bind" like this: # mount --bind /home/STORAGE-for-srv /srv # mount --bind /home /srv/ftp/home