Tagged Questions
2
votes
1answer
54 views
Finding all partitions with filesystems
I'm writing a script that will copy all of the files on a device to a directory. The problem is that some of the devices have multiple partitions and some of the partitions don't have filesystems to ...
1
vote
0answers
42 views
Block Devices & Partitions
I partitioned a microSD card (mmcblk1) into two partitions mmcblk1p1 and mmcblk1p2.
If use a dedicated card reader I am able to see the entire SD card and its partitions using various disk management ...
3
votes
3answers
246 views
When and why do block devices need to be partitioned? [duplicate]
Possible Duplicate:
The merits of a partitionless filesystem
So I've got a block device, say /dev/sda or /dev/loop0. Clearly if I want to boot from the former, or I want to subdivide it ...
6
votes
3answers
839 views
How to read the in-memory (kernel) partition table of /dev/sda?
I accidentally overwrote my /dev/sda partition table with GParted (full story on AskUbuntu). Since I haven't rebooted yet and my filesystem is still perfectly usable, I was told I might be able to ...
4
votes
1answer
148 views
2
votes
2answers
689 views
Linux Mint: drives' map changing at reboot brings fstab error
I've set up fstab to auto mount media drives on a Linux Mint machine.
The OS is installed on a IDE/ATA Disk while 3 SATA disks hold data to share.
The BIOS has the ATA disk as first boot device.
All ...
3
votes
4answers
646 views
How to get size of a block special file?
I need to be able to determine the size of a block special file.
For example, given /dev/sda, I need a command that will provide the size of the device. (By size I mean capacity, since this is a ...