8,032 reputation
622
bio website
location
age 35
visits member for 3 years, 9 months
seen yesterday

Jan
20
comment How to convert dd disk image to Clonezilla?
@barlop, the partition is just a container. The only thing the size of the partition has to do with the size of the filesystem is that the filesystem can not be larger than its container. Moving the filesystem to a larger container does not automatically make the filesystem larger, hence resize2fs.
Jan
18
comment Location of inodes (ext)?
+1 for dumpe2fs. You can also play around interactively with debugfs instead. You can learn a lot playing with these tools.
Jan
17
comment sudo to remember password for list of commands?
@動靜能量, yes, only without running two programs.
Jan
8
answered Can MD cope with a badblock list?
Jan
3
answered How to resize an LVM partition at the beginning
Dec
31
comment Very slow SW-RAID 5 in Debian Squeeze
Adding more disks increases both read and write throughput, at least for sequential IO. Raid10 will give better performance only for random IO ( and be worse for sequential ), and costs more space. There is nothing about mdadm that inherently limits IOPS. A true hardware raid will only help if you are saturating the PCI bus, since less has to go across it, and that isn't likely to happen with just 4 or 5 disks.
Dec
31
comment What is meant by stack in connection to a process?
The stack does not necessarily start at the highest address, especially if there are more than one ( for each thread ). Each thread gets its own stack, not divide up one. Also arguments often are passed in registers, not on the stack, especially on x86_64 since it has more registers than i386. Also only local variables are placed on the stack.
Dec
29
comment Undervolting in Linux
Actually it has been shown experimentally that on modern cpus, it does not save power to limit the frequency. It is at least as good, if not better to finish work faster at the higher frequency, then get back into the deep sleep states, rather than spend more time working at the lower frequency. The exception to this is if you are running crappy software that wastes cpu cycles in an infinite loop.
Dec
28
comment How to re-size partitions in a complete hard drive image?
@Timesquare, you can run partx to detect and create the partitions, and a gparted will create them when you use it to add partitions if you have a newer version of parted. As a workaround, you can use partx, you just have to let gparted stop after creating the partition so you can run kpartx before formatting.
Dec
28
answered How do I point certain directory to /dev/null?
Dec
28
comment How to re-size partitions in a complete hard drive image?
@Timesquare, no, that is the correct block device for the partition. You need parted 3.0 or later.
Dec
27
comment File system compatible with all OSes?
I assumed the same thing but last time I tried it, Microsoft stupidly refused to recognize it on a hard disk/flash drive, even though they could on a cdrom.
Dec
27
comment File system compatible with all OSes?
Wait, Vista and later will recognize UDF on flash or regular hard disks? Last time I tried that I guess it was XP thought it was only for optical media. That's good news.
Dec
27
comment How to re-size partitions in a complete hard drive image?
@Timesquare, then it appears that your libparted is broken. What version are you using and what distribution?
Dec
26
comment How to re-size partitions in a complete hard drive image?
@Celada, kpartx does not use the kernel for partition table detection, but it does inform the kernel about them so it requires a partionable device, such as a loop device.
Dec
26
answered How to re-size partitions in a complete hard drive image?
Dec
26
answered Why doesn't su change the user ID of the shell from which it was run?
Dec
26
comment How is GRUB able to read it's config file on ext3 fileystem?
@Adrian, they are relatively small, incremental changes that don't require many changes to the code to still be able to read. The only change that really takes any work at all is understanding extents.
Dec
26
answered How is GRUB able to read it's config file on ext3 fileystem?
Dec
26
comment How is GRUB able to read it's config file on ext3 fileystem?
This misses the question. The initrd holds files that allow the kernel to access the root filesystem, not grub.