[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: resize2fs: Either the superblock or the partition table is likely to be corrupt!



On 2009-07-20 21:29, Manoj Srivastava wrote:
On Sun, Jul 19 2009, Ron Johnson wrote:

On 2009-07-08 20:23, Miles Bader wrote:
[snip]
Hmm, my / is 290MB, though /tmp, /var, /boot, and /usr are all separate
partitions.
*Why*?  IOW, what benefit do you derive in 2009 (as opposed to 1989,
when disks weren't always large enough to hold it all) from splitting
these out?

        Security?

/dev/sdb2				/		ext3	noatime,errors=remount-ro	0	1

Why device names instead of labels or UUIDs?

/dev/sda1				/boot		ext3	noatime,rw,defaults,noauto	0	2

noauto?????

/dev/mapper/anzu_main-usr_lv		/usr		ext3	noatime,ro,defaults		0	2

I understand why this is ro; why then is /boot rw?

/dev/mapper/anzu_main-home_lv		/home		ext3	noatime,rw,nosuid,nodev		0	2

What does nodev mean? (My google fu must be lacking.) Is "Do not interpret character or block special devices on the file system." just extra security so that a rogue app doesn't try to create a device file anywhere but /dev?

/dev/mapper/anzu_main-ulocal_lv 	/usr/local	ext3	noatime,rw,nosuid,nodev		0	2
/dev/mapper/anzu_main-var_lv		/var		ext3	noatime,rw,nosuid               0	2
/dev/mapper/anzu_main-spool_lv	/var/spool	ext3	noatime,rw,nosuid,nodev		0	2

Seems to me that this whole exercise is to ensure that /dev is in it's own partition.

--
Scooty Puff, Sr
The Doom-Bringer


Reply to: