| bio | website | |
|---|---|---|
| location | Virginia | |
| age | 30 | |
| visits | member for | 2 years, 10 months |
| seen | 4 hours ago | |
| stats | profile views | 208 |
|
4h |
comment |
Delete files except n files with the “bigger” name? This assumes that the modification times are right—may not be the case depending on how the files got there. (E.g., generated from a version control branch will usually have the date it was generated, or possibly even copied to the server, not the date of the most recent change) |
|
4h |
comment |
Foremost file naming - Recovery of file names from inodes @frostschutz Indeed, looking at the source code here too, it appears to be the block number. The manpage hints at that, too. You should post that as an answer. |
|
23h |
comment |
Why does building an Android kernel need a toolchain, but compiling the entire source does not? I'd guess that the answer is that as part of building the full thing, you're building the toolchain. Check if gcc source is part of it. |
|
23h |
comment |
linux & solaris - separate netmask IP's from ordinary IP's I'm not sure, you'd have to test it (I don't have any Solaris machines to test on). But the grep with list of patterns will, that's specified by POSIX. |
|
23h |
comment |
how does built in commands of a shell implemented in Linux? as a function or thread of shell process? That's going to be shell-specific. And it probably varies depending on the command (and possibly how its used in a pipe). |
|
1d |
comment |
What exactly did mv /tmp/folder/* /* do to my filesystem? @MichaelMrozek: Your edit introduced an extra backslash (\) in the rendered question... That backslash wasn't visible until you changed it to a code block [backslash is interpreted as an escape sequence by the site, apparently]. But from OPs description of the results, I'm sure it wasn't there (had it been there, mv would have just produced an error message). I've fixed it. |
|
1d |
comment |
What exactly did mv /tmp/folder/* /* do to my filesystem? @lgeorget /var, not /var/www. Do echo /* or ls -d /* to see the list. You probably did ls without the -d, which causes ls to list the contents of each directory given as an argument. |
|
1d |
comment |
What exactly did mv /tmp/folder/* /* do to my filesystem? @ML Yes, or if you hadn't been doing that as root. That's the real lesson to take home. |
|
1d |
comment |
Is there a faster alternative to cp for copying large files (~20 GB)? Actually, there is concurrency in "read a block/write a block" because "write a block" actually just puts it in the kernel's buffer, and the kernel handles the actual block write in the background (at least, until you start running out of RAM). Or if you are using O_DSYNC/O_SYNC for some reason. |
|
1d |
comment |
Is there a faster alternative to cp for copying large files (~20 GB)? If you're on a LAN, you should be able to do multicast instead of peer-to-peer. Which should be faster, and less load on the network. |
|
Jun 14 |
comment |
Enabling 1366x768 resolution in Debian Wheezy on Atom D525 Board That's a possible workaround. There is probably a bug in the kernel Intel video driver that needs fixing too. You could also try turning off kernel mode setting as another possible workaround. |
|
Jun 13 |
comment |
Enabling 1366x768 resolution in Debian Wheezy on Atom D525 Board The custom EDID stuff on the Arch Wiki may help. Not an answer because I'm guessing. |
|
Jun 12 |
comment |
Why can't I run programs extracted from an archive? Try running them from a shell, and see if you get error messages. If so, please paste the errors into the question. |
|
Jun 12 |
comment |
Disable GNOME on a Debian Install This might make it come back on a package upgrade. |
|
Jun 11 |
comment |
Can I unzip and merge sorted text files in a single operation? @bahamat no, that won't work. sort -m merges together two or more already sorted files. zcat *.gz would give one "file", which isn't sorted. You'd have to drop -m, and merging already sorted files is (computationally) easier than sorting an unsorted file. Takes much less memory and only a single I/O pass, too. [With a normal sort, you can either blow a lot of memory, or use multiple passes.] |
|
Jun 11 |
comment |
Debian - install missing man pages? Another copy, on the Raspberry Pi site: raspberrypi.stackexchange.com/questions/7918/… |
|
Jun 10 |
comment |
Risks involved with lazy_itable_init=1 for ext4 fs on SD card I don't think the kernel makes many guarantees when you rip the drive underlying a mounted filesystem. I bet your SD card doesn't, either (e.g., if you remove it while its in the middle of moving a block for wear leveling). |
|
Jun 10 |
comment |
How to get rid of dummy interface?rmmod dummy will probably get rid of it. But it's not the cause of you not having a working Ethernet interface. |
|
Jun 10 |
comment |
Nohup process not running into ssh Probably not relevant to your problem, but you do not want mode 777. That allows write permission to everyone, which is exceptionally dangerous for something you're about to execute. You probably want 700. |
|
Jun 10 |
comment |
How can I unmount bad mounting? An unmount is always done on the mount point, not the device (I assume this is what you mean by "physical volume" instead of "logical volume"). Check man 2 umount — the actual call to the kernel gives the mount point. When you pass the device (or label, or whatever else) to the /sbin/umount, the program is translating it to a mount point (via /etc/mtab, probably), and then passing that mount point to umount2. |