Tag Info

Hot answers tagged

5

OS X 10.8 is also listed as a UNIX 03 registered product in http://www.opengroup.org/openbrand/register/. If you are using bash, it is not POSIX-compliant by default. echo doesn't support any options by default in sh though. $ bash $ builtin echo -e a; /bin/echo -e a a -e a $ sh $ builtin echo -e a; /bin/echo -e a -e a -e a $ shopt -u xpg_echo $ builtin ...


3

Make sure you have TRIM enabled for your SSD in OS X. I use http://www.groths.org/trim-enabler/ and I noticed a considerable speed increase after installing it and rebooting with support enabled. Try that and post back if that helps your I/O speeds. Also, is it encrypted on the Linux machine? Encryption will provide some overhead.


2

Ok, you are up to a really minimal OS. Now you need to get some kind of machine to boot it. No matter what machine you use (your laptop, a VirtualBox, etc.) when it starts up, it needs some ROM containing code to load and start the OS. This is usually something like a BIOS. This will usually simply fetch the boot sector of the configured boot media and run ...


2

I guess you have an illegal space in the PATH variable assignment like so: export PATH= /sbin:sbin:/usr/local/bin # -bash: export: `/sbin:sbin:/usr/local/bin': not a valid identifier ls # -bash: ls: No such file or directory # right way is to just drop the space export PATH=/sbin:sbin:/usr/local/bin


1

I am quite confused why you would like to do it? Most convenient flash storage cells is very limited in writing times. So that flash file systems are designed to avoid to write into same cells frequently. But most disk de-fragment programs do, because they were designed to work with ordinary hard disk. So if you really need to "de-fragment" your files on ...


1

The typical way is to use dd. Here are the instructions from the syslinux bootloader for installing mbr.bin to /dev/sda. dd bs=440 count=1 conv=notrunc if=mbr/mbr.bin of=/dev/sda Here, /dev/sda is the target device. (of is "output file".) You would replace this with the device name of your USB drive.


1

With OSX you can boot into single-user mode by holding down Command-S after rebooting. You essentially have password-less root access to the system, with no PAM or other authentication, so you can fix all sorts of system issues like lost passwords and accidental directory renames this way. Yes, this is a potential security hole, but giving someone physical ...



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