Mount a remote folder by sshfs
Posted: 2016-03-04 Filed under: desktop, network, system | Tags: fusermount, mount, ssfs, ssh 1 CommentI have several computers at home, all behind a router. Sometimes, I need to access files between computers and so far I have always used ssh either in the terminal or by gftp.
However, I wanted to be able to mount certain folder remotely in a seamless way, as if it was on the computer I was currently using. This can easily be done by sshfs. It is not part of Slackware, but can be found at SBo: sshfs-fuse.
Read the rest of this entry »
Code formatting in WordPress
Posted: 2016-02-01 Filed under: misc | Tags: code, formatting, language, wordpress 1 CommentWhen I post the contents of a configuration file or want to write a command, I prefer the text to have the appropriate formatting. Enclosing the text in [cоde][/cоde] tags is a well known feature of WordPress, however I keep forgetting some of the options.
Therefore, I am going to paste the parameters from the link above, listing them for my future reference: Read the rest of this entry »
SSD trimming as a cron job
Posted: 2016-01-23 Filed under: system | Tags: cron, crontab, ext4, fstrim, fstrimDaemon, SSD, trim, XFS 3 CommentsI use XFS for my SSD and the partitions are mounted with default settings in /etc/fstab. Instead of using the discard option, I decided to set the fstrim command running as a cron job. As a side note, other filesystems that support trimming listed in the Arch Wiki are: Btrfs, Ext4, JFS.
Read the rest of this entry »
SSD trouble
Posted: 2016-01-16 Filed under: system | Tags: discard, error, ext4, ext4_find_entry, filesystem, fstab, noatime, relatime, SSD, trim, unable to read itable block 3 CommentsOne of my PCs has a 60.0 GB Corsair Force GT SandForce Driven SSD. When I bought it, I read a bit about SSDs and I set several options in my /etc/fstab. However, whenever copying some big files, the system seemed to hang for a while. In other cases, the it would just crash, killing X and leaving me in the console, but even shutting down was not possible. It would spit out errors, containing stuff like: Read the rest of this entry »
