自动重新安装块设备
在SylixOS中,通过 remount
命令可以自动挂载一个分区/卷。
[root@sylixos:/root]# showmount
AUTO-Mount point show >>
VOLUME BLK NAME
-------------------- --------------------------------
MTD-Mount point show >>
VOLUME BLK NAME
-------------------- --------------------------------
Mount point show >>
VOLUME BLK NAME
-------------------- --------------------------------
[root@sylixos:/root]# remount /dev/blk/hdd-0
Block device /dev/blk/hdd-0 part 0 mount to /media/hdd0 use tpsfs file system.
[root@sylixos:/root]# showmount
AUTO-Mount point show >>
VOLUME BLK NAME
-------------------- --------------------------------
/media/hdd0 /dev/blk/hdd-0:0
MTD-Mount point show >>
VOLUME BLK NAME
-------------------- --------------------------------
Mount point show >>
VOLUME BLK NAME
-------------------- --------------------------------
[root@sylixos:/root]#