пятница, 27 июня 2014 г.

stat command - for telling directories from mount points/subvolumes

Cool way to find out if directory is a mount point and thus subvolume

if the argument is equal to the output - we have a mountpoint/subvolume

$ stat --format=%m /usr/src/linux
/usr/src

Комментариев нет:

Отправить комментарий