How to register FUSE filesystem type with mount(8) and fstab?

In general, one “registers” a new mount filesystem type by creating an executable mount.fstype. $ ln -s /usr/bin/vdbfs.py /usr/sbin/mount.vdbfs If vdbfs.py takes mount-ish arguments (i.e. dev path [-o opts]), then mount -t vdbfs and using vdbfs as the 3rd field in fstab will work. If it doesn’t, you can create a wrapper which does take … Read more

__attribute__((const)) vs __attribute__((pure)) in GNU C

From the documentation for the ARM compiler (which is based on gcc): __attribute__((pure)) function attribute Many functions have no effects except to return a value, and their return value depends only on the parameters and global variables. Functions of this kind can be subject to data flow analysis and might be eliminated. __attribute__((const)) function attribute … Read more

How can I make GNU Screen start a new window at the CURRENT working directory?

See the GNU Screen chdir command. All new windows created in Screen use this as their initial directory. Using this, you can do something like: chdir /home/dan/newscreendir screen And your new window (along with any future created windows) will be in the set directory. If it’s always going to be the current working directory you … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)