1,655 reputation
315
bio website
location Vancouver, Canada
age
visits member for 3 years, 9 months
seen 16 hours ago
stats profile views 75

1d
comment How to extend an ext4 partition and filesystem?
The resize2fs man page says: If the filesystem is mounted, it can be used to expand the size of the mounted filesystem, assuming the kernel supports on-line resizing. (As of this writing, the Linux 2.6 kernel supports on-line resize for filesystems mounted using ext3 and ext4.). However, resizing a mounted filesystem is a more dangerous operation, since the kernel could easily freeze or crash while running rarely exercised code, leaving your filesystem in a bad state.
1d
comment How to extend an ext4 partition and filesystem?
It is always recommended to back up your data before doing any risky operation like resizing a partition. parted supports a choice of units — for example, use the s suffix for sectors, B or GB for bytes, % for percentage of device size, and cyl for cylinders.
1d
answered How to extend an ext4 partition and filesystem?
May
15
comment Is there a standard place to install software that doesn't follow the Filesystem Hierarchy Standard?
"Add-on" means software that is provided by someone other than the operating system vendor. Yes, your hypothetical example shows exactly how /opt is meant to be used. Software that installs into /opt is a bit rare in the Linux community, since your distro's package manager does a fine job of managing files throughout the filesystem hierarchy. However, it's not wrong, and is in fact quite common practice with Unix flavors that don't have such capable package managers as Linux.
May
15
answered Is there a standard place to install software that doesn't follow the Filesystem Hierarchy Standard?
May
11
comment Exclude a process from being listed in `top`
top -n1 (in Linux) or top -l1 (Mac OS X) will exit after sending just one iteration of output to STDOUT.
May
11
revised Installing grub2 on ubuntu with software raid mirroring
Cleaned up fstab formatting and eliminated irrelevant columns
May
11
suggested suggested edit on Installing grub2 on ubuntu with software raid mirroring
May
7
comment How to change the current time inside apache and mysql from shell in ubuntu?
To use libfaketime with MySQL, you'll have to edit the MySQL init script to insert the LD_PRELOAD. On the other hand, you've indicated in a comment that you want to change the system time, in which case you shouldn't bother with libfaketime. Just use the "date" command to change the system time. (Then use the "hwclock" command if you need it to persist across reboots.) Make sure that you aren't running anything like NTP that will sync with an external time source.
May
7
revised Executing script remotely with “curl | bash” feedback
Corrected another "shopt" -> "set"
May
7
comment Executing script remotely with “curl | bash” feedback
I've corrected "shopt" to "set". If you could change your accepted answer as well, I'd appreciate it.
May
7
revised Executing script remotely with “curl | bash” feedback
Corrected shopt -> set
May
7
answered How to change the current time inside apache and mysql from shell in ubuntu?
May
7
answered Executing script remotely with “curl | bash” feedback
Apr
15
comment Do I need to defrag MacOSX filesystems?
The notion that one should need to defragment your disk comes mainly from the days when simplistic filesystems like MS FAT that were prone to fragmentation were widely used. Modern filesystems just don't suffer much from fragmentation. Furthermore, if it gets to the point where you feel that the disk performance is unbearably slow, just spend some money on upgrading to an SSD instead. Solid-state drives are completely immune to performance problems resulting from fragmentation, since there is no seek time.
Apr
15
answered PostgreSQL server failed to start: request for a shared memory segment exceeded your kernel's SHMMAX parameter
Mar
1
answered Can a Change In Chrome, Screw Up How Apache Is Serving My Localhost On My Computer?
Feb
9
awarded  Nice Answer
Jan
15
answered PAM LDAP authentication restriction
Dec
22
revised Shell script for loop is behaving unexpected
Formatted propperty.txt as it was probably intended; Fixed a few spelling errors just to get past the filter