Skip to contentSkip to conversation

mktemp in slackware

DISCUSSION Dave Young 2 participants 3 messages Sep 30, 2011

lore
Share & tools
lore

Dave Young

author
#0 lore raw

Hi,

The mktemp in slackware is from "bin" package, the mktemp-gnu is from coreutils instead, so it will fail to create initramfs

I think there's maybe such problem in other distribution as well, So how to deal with this? Adding a option or giving out a warning on install?

Signature · 2 lines
Thanks
Dave
#1 lore raw
Quoted 7 lines · Dave Young

Hi,

The mktemp in slackware is from "bin" package, the mktemp-gnu is from coreutils instead, so it will fail to create initramfs

I think there's maybe such problem in other distribution as well, So how to deal with this? Adding a option or giving out a warning on install?

What is the difference between mktemp-gnu and mktemp on slackware?

author
#2 lore raw
Quoted 11 lines · WANG Cong
Quoted 7 lines · Dave Young

Hi,

The mktemp in slackware is from "bin" package, the mktemp-gnu is from coreutils instead, so it will fail to create initramfs

I think there's maybe such problem in other distribution as well, So how to deal with this? Adding a option or giving out a warning on install?

What is the difference between mktemp-gnu and mktemp on slackware?

mktemp-gnu is from coreutils, mktemp is not.

In my case there's no --tmpdir in mktemp options, so it will fail, change to mktemp-gnu, it will success.

Quoted 6 lines

--
To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 2 lines
Thanks
Dave