Tag Info

Hot answers tagged

2

There are several things mixed here mounting a filesystem by user and superuser, accessing files on a mounted file system and accessing the data on the "raw" device. mounting a file system root can always mount a file system, provided he can access the device that carries it - which it can when the kernel recognizes it. Users are only allowed to mount a ...


2

It depends on if blah is a root on your sda3 installation. If no: By default can only root mounting anything, so you don't need even get out them from the /etc/fstab. Only what you should check: They need the noauto flag (to not mount them on boot) And shouldn't have the user flag (or they were mountable by user). If he is a root, or have (or can make) ...


1

To backup DOS label (MBR) use this: dd if=/dev/sdX of=mbr bs=512 count=1 To backup GPT label use this: dummy=$(parted -ms /dev/sdX print | tail -1| cut -b1) size=$((128 * dummy + 1024)) dd if=/dev/sdX of=gpt bs=1 count=$size To wipeout the labels use this: dd if=/dev/zero of=/dev/sdX bs=Y count=Z partprobe /dev/sdX HTH



Only top voted, non community-wiki answers of a minimum length are eligible