8,002 reputation
622
bio website
location
age 35
visits member for 3 years, 8 months
seen 1 hour ago

Jan
8
comment How can I examine RUNLEVEL from a bash script on Rasbpian?
If this is a shell script you are running manually then that is why: RUNLEVEL is exported by the rc.init system to the scripts it runs, it is not generally available in a regular login shell.
Jan
8
comment what is the purpose of cp -s?
@muru, he isn't trying to.
Jan
8
answered rsync hangs unless I defrag ext4 filesystem
Jan
8
comment Why do we need to mount on Linux?
@Luaan, nope, I'm talking about the NT kernel ( all versions ). You can not ask for anything like a mount, you just open, for example, \Devices\PhysicalDisk0\Parittion1\foo.txt, and that triggers a search for a suitable filesystem if one has not yet been bound to the device. The drive letter concept is implemented at the win32 api level as a symbolic link, such as \DosDevices\C: -> \Devices\Physicaldisk0\Partition1. Assigning the drive letter / creating that symlink is not activating a filesystem anywhere; it just creates a name in the win32 namespace that points to the disk device.
Jan
8
comment Why do we need to mount on Linux?
@orion, mounting on Windows isn't just done automatically by the shell or something, like on a linux desktop. There really is no concept of mount on Windows. You can't specify a directory where it should be mounted, or mount options or even that it should be mounted. You do like the OP suggested and just try to open the windows equivalent of /dev/sda1/foo.txt, and if there is no filesystem bound to that block device, the kernel asks all loaded filesystem drivers to take it over and try to provide access to that file.
Jan
8
comment installing Centos 7 and configure RAID 10
Why would you bother with the pendrive? Just install on the raid array.
Jan
8
answered Why does my RAID 1 NAS have to “synchronize”?
Jan
8
comment How to tar files with a sorted order?
--null specifies that -T takes null terminated strings.
Jan
8
comment Installing Linux by copying?
You can find the logs of why it failed in /var/log/syslog.
Jan
4
comment RAID 5 built using mdadm starts in degraded mode. Is this normal?
@JCollins, yes, but the wear on the one drive isn't likely to matter; it is the wear on the other 9 active drives that will kill you. It's also not a bad idea to keep a cold spare or two on the shelf and swap them out after a year or so.
Jan
4
answered Speeding up Recursive FTP
Jan
4
answered RAID 5 built using mdadm starts in degraded mode. Is this normal?
Jan
4
answered Accidental deleted partition with gparted
Jan
1
comment Are the size of a memory page and the size of a file system cluster always the same?
If by "physical properties" you mean their internal geometry, that has nothing to do with the filesystem cluster size, even back when when geometry actually meant something.
Jan
1
answered Are the size of a memory page and the size of a file system cluster always the same?
Jan
1
comment Are the size of a memory page and the size of a file system cluster always the same?
Cluster size has nothing to do with the physical storage medium and an SSD is treated no differently than an HDD in that regard.
Jan
1
comment Force fsck check after reboot with single command
systemd is init, i.e. the very first program executed, so fsck necessarily takes place after systemd is run.
Dec
31
comment Hard-drive errors
The log just looks odd but I don't think it is any cause for alarm. The drive should be fine if you repaired the bad sector. On the other hand, with over 13,000 power on hours, it is getting a bit up there in age. Also the load cycle count is absurdly high and approaching the design limit of the drive, so perhaps it would be a good idea to replace it.
Dec
31
comment Hard-drive errors
Those messages don't make sense then. There should be lower level messages from libata explaining what happened, and they should be translated to a scsi sense code that is handled. What kernel version is this?
Dec
31
comment How can I lock myself out of a linux box with iptables?
Not possible; iptables has nothing to do with the console keyboard.