News for hackers. Stuff that matters.

rfjakob

Re:Imaging mounted disk volumes under duress on Wednesday September 22, 2021 @07:08AM (#28615039)
I think I saw Oracle mentioned earlier, this has some info about the VSS integration. It's called 'Oracle VSS Writer': https://docs.oracle.com/database/121/NTQRF/vss.htm#BEIJJCAE

I guess MS-SQL does something similar, and that does seem useful beyond what LVM does.

Also VSS apparently can offload the snapshotting to a SAN ('VSS Hardware Provider'): https://docs.microsoft.com/en-us/windows-server/storage/file...

Re:Imaging mounted disk volumes under duress on Wednesday September 22, 2021 @06:02AM (#28614658)
For user application it does not signal anything I guess, but I'm not sure if that's important for databases. Databases are usually crash-consistent, which is equivalent to a snapshot.

However, it does signal to the filesystem, quoting https://manned.org/fsfreeze.8 :

       fsfreeze is unnecessary for device-mapper devices. The device-mapper (and
       LVM) automatically freezes a filesystem on the device when a snapshot
       creation is requested. For more details see the dmsetup(8) man page.
Re:Imaging mounted disk volumes under duress on Wednesday September 22, 2021 @05:25AM (#28614473)
I'm not sure I follow here. Linux does have LVM, what's the problem with it?

That's also what the article says: If you have LVM, you don't need any special tool.

Re:The pitfalls of using SSH-agent, or how to use an agent safely on Saturday September 18, 2021 @12:10PM (#28577269)
From man ssh-add:

     -c      Indicates that added identities should be subject to confirmation be‐
             fore being used for authentication.  Confirmation is performed by
             ssh-askpass(1).  Successful confirmation is signaled by a zero exit
             status from ssh-askpass(1), rather than text entered into the re‐
             quester.
I'm a bit surprised that this is not mention in the article, as this seems very useful to make exploits more difficult.
Don't banks take deposits because they want to lend?
I'm not really sure what you mean. The Bank of England article you linked says:

> that would leave the buyer’s bank with fewer reserves and more loans relative to its deposits than before. [...] > By attracting new deposits, the bank can increase its lending without running down its reserves, as shown in the third row of Figure 2.

So actually the banks need deposits to hand out loans. What you are saying is that the deposits get a new label before handing them out as loans?

Re:In defence of swap: common misconceptions on Sunday January 14, 2018 @05:56PM (#16147027)
There's a userspace daemon that does that: https://github.com/rfjakob/earlyoom (I am the author)

Show HN: gocryptfs, an aspiring successor to EncFS, now in v1.0

Author of gocryptfs and co-maintainer of EncFS here.gocryptfs is a FUSE overlay filesystem for Linux like EncFS. But it is written from scratch in Go, uses modern crypto and fixes the security issues of EncFS while providing equivalent speed.Some of the key differences to EncFS are:* Just one security level roughly equivalent to EncFS "paranoia" mode, at the speed of "default" mode.* A design...

( Read More... | no comments | 20 points | on HN )